<div class="wordwrapper" id="word<%=h word.id%>">
<div class="word"><%=h word.word %><span class="word-explanation">......<%=h word.explanation %></span></div>
<div class="word-operation">
	<%= link_to '修改单词', edit_word_path(word) %>
	|<%= link_to '删除单词', word, :confirm => '您确定么?', :method => :delete %>
	|<%= link_to '添加新解释', new_word_word_comment_path(word)%>
</div>
<div class="word-operation">
	<%= link_to_remote '加大学习力度', { :url => bookmark_word_path(word),:method => :post }%>
	|<%= link_to_remote '减小学习力度', { :url => reduce_rating_word_path(word), :method => :put }%>
	|<%= link_to_remote '这个单词我认识，不用学了', { :url => remove_bookmark_word_path(word), :confirm => '您确定么?', :method => :delete } %>
	|<%= h word.bookmarks.rating_to_user(session[:user]).rating %>
</div>
<hr/>
<%= render(:partial => "word_comments/comment", :collection => word.word_comments.visible_to_user_id(session[:user], word.id)) %> 
</div>